package com.ruoyi.dynamic.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 动态自动发布设置对象 t_user_dynamic_auto
 * 
 * @author DEREK
 * @date 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_dynamic_auto")
public class UserDynamicAuto
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 动态/派对ID */
    @Excel(name = "动态/派对ID")
    private String objId;

    /** 类型 1=动态 2=派对 */
    @Excel(name = "类型 1=动态 2=派对")
    private Integer type;

    /** 更新动态的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新动态的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extend;

    private Date createTime;
}
